HipTileLayer

Tile Layer is a map of tiles consisting in a unique "texture" of tiles.

Constructors

this
this(IHipTilemap map)
Undocumented in source.
this
this(string name, uint columns, uint rows, ushort id, IHipTilemap map)

Members

Functions

checkedGetTile
ushort checkedGetTile(uint i, uint j)
Undocumented in source. Be warned that the author may not have intended to support it.
checkedGetTileXY
ushort checkedGetTileXY(int x, int y)

Gets tile from absolute X and Y. Takes into account the layer x, y

getTile
ushort getTile(uint i, uint j)

Expects I and J in column/row

getTileXY
ushort getTileXY(uint x, uint y)

Gets tile from relative X and Y. Does not take into account the layer x, y

isInLayerBoundaries
bool isInLayerBoundaries(int x, int y, int w, int h)
columns
int columns;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

drawOrder
string drawOrder;
height
int height;
Undocumented in source.
id
ushort id;
Undocumented in source.
name
string name;

Layer name on the tilemap editor

opacity
float opacity;
Undocumented in source.
properties
TileProperty[string] properties;
rows
int rows;
tileHeight
uint tileHeight;
Undocumented in source.
tileWidth
uint tileWidth;
Undocumented in source.
tiles
ushort[] tiles;

Data

type
string type;
Undocumented in source.
visible
bool visible;
width
int width;
Undocumented in source.
x
int x;
y
int y;
Undocumented in source.

Meta